package com.anjubao.parking.municipal.parkinglot.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 返回地磁管理信息
 * @author anjubao
 */
@ApiModel(value = "ParkingGeomagneticSearchDto", description = "地磁信息")
@Data
@ToString
public class ParkingGeomagneticSearchDto implements Serializable {

    /**
     * 设备编号
     */
    @ApiModelProperty(value = "设备编号")
    private String code;

    /**
     *停车场所在区域id
     */
    @ApiModelProperty(value = "停车场所属区域id",name = "districtId")
    private Integer parkingLotDistrictId;

    /**
     *停车场所在省份id
     */
    @ApiModelProperty(value = "停车场所属省份id",name ="provinceId" )
    private Integer parkingLotProvinceId;

    /**
     *停车场所在城市id
     */
    @ApiModelProperty(value = "停车场所属城市id",name = "cityId")
    private Integer parkingLotCityId;

    /**
     *停车场名称
     */
    @ApiModelProperty(value = "所属停车场")
    private String parkingLotName;

    /**
     *泊位名称
     */
    @ApiModelProperty(value = "泊位名称")
    private String parkingLotSlotName;

    /**
     *运行状态 0:断线 1:在线
     */
    @ApiModelProperty(value = "状态 0:断线 1:在线")
    private Integer isOnline;

    /**
     *开始时间
     */
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime beginTime;

    /**
     *结束时间
     */
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;


    public void setDistrictId(Integer parkingLotDistrictId) {
        this.parkingLotDistrictId = parkingLotDistrictId;
    }

    public void setProvinceId(Integer parkingLotProvinceId) {
        this.parkingLotProvinceId = parkingLotProvinceId;
    }

    public void setCityId(Integer parkingLotCityId) {
        this.parkingLotCityId = parkingLotCityId;
    }
}
